package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Hospital;
import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.HospitalQueryVo;
import com.atguigu.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @Author liking
 * @Description
 * @Date 2025/5/2
 * @Version 1.0
 */
public interface HospitalService {
    void saveHospital(Map<String, Object> paramMap);

    Hospital getHospitalByHoscode(String hoscode);

    void saveDepartment(Map<String, Object> parameMap);

    void saveSchedule(Map<String, Object> paramMap);

    Page<Schedule> findScheduleAll(Integer pageNum, Integer pageSize, ScheduleQueryVo scheduleQueryVo);

    void removeScheduleByHoscodeAndHosScheduleId(String hoscode, String hosScheduleId);

    Page<Hospital> getHospitalList(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

    Map<String, Object> show(String id);

    String getHospName(String hoscode);
}
